package com.fowo.api.sys.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 复制角色请求
 * @author yl_ls
 */
@Getter
@Setter
public class CopySysRole implements Serializable {
    /**
     * 复制源角色编号
     */
    @Schema(title = "复制源角色编号")
    @NotNull
    private Long copyFormId;

    /**
     * 角色名称
     */
    @Schema(title = "角色名称")
    @Size(max = 50)
    @NotEmpty
    private String roleName;

    /**
     * 描述
     */
    @Schema(title = "描述")
    @Size(max = 255)
    private String description;

    /**
     * 排序值
     */
    @Schema(title = "排序值")
    private Integer sort;
}
